package com.farm.project.domain.ex;

/**
 * { name : 'Node99', subTitle : '结束', x : 10, y : 300, itemStyle : { color :
 * '#666666' } } 流程图节点
 * 
 * @author Wd
 *
 */
public class EchartsTaskNode {
	private String name;
	private String subTitle;
	private int x;
	private int y;
	private EchartsTaskNodeStyle itemStyle;

	/**
	 * 层级
	 */
	public EchartsTaskNode(String name, String subTitle, int x, int y, EchartsTaskNodeStyle itemStyle) {
		super();
		this.name = name;
		this.subTitle = subTitle;
		this.x = x;
		this.y = y;
		this.itemStyle = itemStyle;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSubTitle() {
		return subTitle;
	}

	public void setSubTitle(String subTitle) {
		this.subTitle = subTitle;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public EchartsTaskNodeStyle getItemStyle() {
		return itemStyle;
	}

	public void setItemStyle(EchartsTaskNodeStyle itemStyle) {
		this.itemStyle = itemStyle;
	}

}
